package com.neuedu.yyzx.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.neuedu.yyzx.po.Backdown;
import com.neuedu.yyzx.po.Customerpreference;
import com.neuedu.yyzx.service.BackdownService;
import com.neuedu.yyzx.mapper.BackdownMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author HordEmpty
 * @description 针对表【backdown】的数据库操作Service实现
 * @createDate 2025-04-09 10:13:49
 */
@Service
public class BackdownServiceImpl extends ServiceImpl<BackdownMapper, Backdown>
        implements BackdownService {
    @Override
    @Transactional
    public IPage<Backdown> customerBack(Page<Backdown> page, Backdown backdown) {
        return getBaseMapper().customerBack(page, backdown);
    }

    @Override
    public List<Backdown> getCustomerWithoutBack() {
        return getBaseMapper().getCustomerWithoutBack();
    }
}
